package com.guigu.liuzhireng.mapper;

import com.guigu.liuzhireng.pojo.Role;

import java.util.List;

public interface RoleMapper {
    int deleteByPrimaryKey(Integer roleid);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleid);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> RoleAll(Role role);

    List<Role> All(Integer pid);
}